<script type="text/javascript" >
    stSocialMediaToolbox.on_submitform('#settingForm1', function(){        
        stSocialMediaToolbox.loadPage('appPermission', '', '<?php _e("Successful", $config['plugin_name']) ?>', function(){
            jQuery.prettyPhoto.close();
        });
    });
    
</script>
<div class="w100p bgl" id="stcontainer">
    <div class="w100p bgr">
        <div class="inner_container">
            <div class="icon_re">
                <h2 class="red_color upcase">Set Facebook CMS url</h2>
            </div>
            <form class="stform" id="settingForm1" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=' . $current_action) ?>" method="post" >
                <ul>
                    <li>
                        <label style="width: 150px"><?php _e('Facebook CMS url', $config['plugin_name']) ?>:</label>
                        <div> 
                            <input type="text" name="data[fbCmsUrl]" value="<?php echo $fbCmsData['fbCmsUrl'] ?>" class="required url" />
                        </div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label style="width: 150px"><?php _e('User name', $config['plugin_name']) ?>:</label>
                        <div> 
                            <input type="text" name="data[fbCmsUser]" value="<?php echo $fbCmsData['fbCmsUser'] ?>" class="required" />
                        </div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label style="width: 150px"><?php _e('Password', $config['plugin_name']) ?>:</label>
                        <div> 
                            <input type="password" name="data[fbCmsPassword]" value="<?php echo $fbCmsData['fbCmsPassword'] ?>" class="required" />
                        </div>
                        <br clear="both" />
                    </li>
                    <li>
                        <input style="margin-left: 155px;" type="submit" value="Submit"/>
                    </li>
                </ul>
                <input type="hidden" name="userID" value="<?php echo $userID?>" />
                <input type="hidden" name="app" value="<?php echo $app?>" />
            </form>    
        </div>
    </div>
</div>